package com.yf1706.bean;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the emp_salary_change_apply_record database table.
 * 
 */
@Entity
@Table(name="emp_salary_change_apply_record")
@NamedQuery(name="EmpSalaryChangeApplyRecord.findAll", query="SELECT e FROM EmpSalaryChangeApplyRecord e")
public class EmpSalaryChangeApplyRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="record_id")
	private int recordId;

	@Temporal(TemporalType.DATE)
	@Column(name="apply_date")
	private Date applyDate;

	@Column(name="apply_emp_id")
	private int applyEmpId;

	@Column(name="apply_emp_name")
	private String applyEmpName;

	@Column(name="approve_comments")
	private String approveComments;

	@Temporal(TemporalType.DATE)
	@Column(name="approve_date")
	private Date approveDate;

	@Column(name="approve_status")
	private byte approveStatus;

	private String approver;

	@Column(name="approver_id")
	private int approverId;

	@Column(name="emp_name")
	private String empName;

	private String remark;

	@Column(name="salary_change_value")
	private double salaryChangeValue;

	@Column(name="salary_value")
	private double salaryValue;

	public EmpSalaryChangeApplyRecord() {
	}

	public EmpSalaryChangeApplyRecord(int recordId, Date applyDate, int applyEmpId, String applyEmpName,
			String approveComments, Date approveDate, byte approveStatus, String approver, int approverId,
			String empName, String remark, double salaryChangeValue, double salaryValue) {
		super();
		this.recordId = recordId;
		this.applyDate = applyDate;
		this.applyEmpId = applyEmpId;
		this.applyEmpName = applyEmpName;
		this.approveComments = approveComments;
		this.approveDate = approveDate;
		this.approveStatus = approveStatus;
		this.approver = approver;
		this.approverId = approverId;
		this.empName = empName;
		this.remark = remark;
		this.salaryChangeValue = salaryChangeValue;
		this.salaryValue = salaryValue;
	}

	@Override
	public String toString() {
		return "EmpSalaryChangeApplyRecord [recordId=" + recordId + ", applyDate=" + applyDate + ", applyEmpId="
				+ applyEmpId + ", applyEmpName=" + applyEmpName + ", approveComments=" + approveComments
				+ ", approveDate=" + approveDate + ", approveStatus=" + approveStatus + ", approver=" + approver
				+ ", approverId=" + approverId + ", empName=" + empName + ", remark=" + remark + ", salaryChangeValue="
				+ salaryChangeValue + ", salaryValue=" + salaryValue + "]";
	}

	public int getRecordId() {
		return this.recordId;
	}

	public void setRecordId(int recordId) {
		this.recordId = recordId;
	}

	public Date getApplyDate() {
		return this.applyDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public int getApplyEmpId() {
		return this.applyEmpId;
	}

	public void setApplyEmpId(int applyEmpId) {
		this.applyEmpId = applyEmpId;
	}

	public String getApplyEmpName() {
		return this.applyEmpName;
	}

	public void setApplyEmpName(String applyEmpName) {
		this.applyEmpName = applyEmpName;
	}

	public String getApproveComments() {
		return this.approveComments;
	}

	public void setApproveComments(String approveComments) {
		this.approveComments = approveComments;
	}

	public Date getApproveDate() {
		return this.approveDate;
	}

	public void setApproveDate(Date approveDate) {
		this.approveDate = approveDate;
	}

	public byte getApproveStatus() {
		return this.approveStatus;
	}

	public void setApproveStatus(byte approveStatus) {
		this.approveStatus = approveStatus;
	}

	public String getApprover() {
		return this.approver;
	}

	public void setApprover(String approver) {
		this.approver = approver;
	}

	public int getApproverId() {
		return this.approverId;
	}

	public void setApproverId(int approverId) {
		this.approverId = approverId;
	}

	public String getEmpName() {
		return this.empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public double getSalaryChangeValue() {
		return this.salaryChangeValue;
	}

	public void setSalaryChangeValue(double salaryChangeValue) {
		this.salaryChangeValue = salaryChangeValue;
	}

	public double getSalaryValue() {
		return this.salaryValue;
	}

	public void setSalaryValue(double salaryValue) {
		this.salaryValue = salaryValue;
	}

}